//
//  BespeakStruct.swift
//  Venus
//
//  Created by apple on 2018/9/15.
//  Copyright © 2018年 zhaowang. All rights reserved.
//  机构端 - 预约数据源

import UIKit

/// 预约数据源
struct BespeakStruct {
    
    /// 接口返回的原生数据
    var dict :[String:Any] = [:]
    
    /// 手机号
    var phone  = ""
    
    /// 日期： 不清是不是时间戳
    var dateStr = ""
    
    /// 图片下载地址
    var headImgStr = ""
    
    /// 标题：或者是用户名称
    var userName = ""
    
    ///预约记录
    var remark = ""
    
    init(dict:[String:Any]) {
        self.dict = dict
        phone = dict["phone"] as? String ?? ""
        dateStr = dict["updateTime"] as? String ?? ""
        headImgStr = dict["headImg"] as? String ?? ""
        userName = dict["userName"] as? String ?? ""
        remark = dict["remark"] as? String ?? ""
    }
}


/*//接口数据
 {
 address = "<null>";
 appointmentTime = 1536199170830;
 checkCode = "<null>";
 createTime = 1534149175519;
 globalAreaCode = "+86";
 groupIds = "<null>";
 headImg = "http://staging.jiliyun.com/image/institutionHead/QQ\U622a\U56fe20180601095431.png";
 id = 1;
 institutionId = "<null>";
 ip = "0:0:0:0:0:0:0:1";
 isDelete = "<null>";
 isSee = "<null>";
 jobName = "<null>";
 pageNum = 1;
 pageSize = 10;
 phone = 18621875099;
 phoneKey = "<null>";
 recommendPhone = "<null>";
 remark = eeeee;
 role = 0;
 tonken = "cec2aea5-afa0-4dce-bd50-cd25fbb1e3fd";
 updateTime = 1536646534325;
 userName = "\U5f20\U5927\U4ed9\U4eba";
 }
 */
